using Comdiv.Extensions;
using NUnit.Framework;

namespace Comdiv.Doc.Test{
    public class CommonFunctionalityTestBase {
        protected string outdir;
        protected DefaultDocumentGenerator processor;
        protected string viewdir;
        protected IDocumentProcessorStep step;
        protected DocumentQuery query;

        [SetUp]
        public virtual void setup(){
            outdir = "CommonFunctionalityTest_output".prepareTemporaryDirectory(true);
            viewdir = "CommonFunctionalityTest_views".prepareTemporaryDirectory(true);
            processor = new DefaultDocumentGenerator();
            query = new DocumentQuery{InputDirectory = env.input,OutputDirectory = outdir,ViewDirectory = viewdir};
        }
    }
}